
import 'package:redux/redux.dart';

final InitReducer = combineReducers<bool>([
  TypedReducer<bool,InitRefreshAction>(_initAction)
]);
bool _initAction(bool init, action){
  init = action.init;
  return action.init;
}
class InitRefreshAction{
  final bool init;
  InitRefreshAction(this.init);
}




final ListReducer = TypedReducer<List<dynamic>,ListRefreshAction>(_listAction);

List _listAction(s,a){
  s = a.list;
  return s;
}

class ListRefreshAction {
  final List<dynamic> list;
  ListRefreshAction(this.list);
}